

class LayData:

    @staticmethod
    def data(code,msg,count,data):
        return {
            "code" :0,
            "msg" : "ok",
            "count" : count,
            "data" : data
        }

    @staticmethod
    def data2(code,msg):
        return {
            "code" :code,
            "msg" : msg

        }